package com.alks.function.data.request.administration;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Getter
@Setter
@NoArgsConstructor
public class JobTypeChangeRequest {

    @ApiModelProperty(value = "工号集合",name = "workerIdList")
    private List<String> workerIdList;

    @ApiModelProperty(value = "新工种",name = "workType")
    private String workType;

    @ApiModelProperty(value = "变更日期",name = "ddate")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "基本工资",name = "workTypeSalary")
    private BigDecimal workTypeSalary;

    @ApiModelProperty(value = "计算类型",name = "calcType")
    private String calcType;
}
